package com.accp.info;

/**
 * Bookratings entity. @author MyEclipse Persistence Tools
 */

public class Bookratings implements java.io.Serializable {

	// Fields

	private Integer id;
	private Books books;
	private Users users;
	private Integer rating;
	private String comment;

	// Constructors

	/** default constructor */
	public Bookratings() {
	}

	/** full constructor */
	public Bookratings(Books books, Users users, Integer rating, String comment) {
		this.books = books;
		this.users = users;
		this.rating = rating;
		this.comment = comment;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Books getBooks() {
		return this.books;
	}

	public void setBooks(Books books) {
		this.books = books;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Integer getRating() {
		return this.rating;
	}

	public void setRating(Integer rating) {
		this.rating = rating;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}